import React from 'react';
import { Button, message } from "antd";
import { PlusOutlined, FolderAddOutlined } from '@ant-design/icons';

class ToolBar extends React.Component {
    render() {
        const handleClick = () => {
            message.info(`连接主机`);

        };
        return <div>
            <Button type="primary" size="small" icon={<PlusOutlined />} onClick={handleClick} style={{ marginLeft: 8 }}>
                连接
            </Button>
            <Button type="primary" size="small" icon={<FolderAddOutlined />} onClick={handleClick} style={{ marginLeft: 8 }}>
                目录
            </Button>

        </div>;
    }
}
export default ToolBar;